#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#

class Test:
    def __init__(self, name):
        self.name = name

    def tcls(self):
        print("这是test的绑定关系")


t1 = Test("x")
t2 = Test("y")
print(id(t1.tcls), id(t2.tcls))  # 1986257763528 1986257763528

Test.tcls()  # TypeError: tcls() missing 1 required positional argument: 'self'
Test.tcls("123")
